package com.sf.hackathons.app.presenter.constract;


import com.sf.hackathons.lib.commui.base.IBasePresenter;
import com.sf.hackathons.lib.commui.base.IBaseView;

/**
 * Created by guofanghua on 17/9/24.
 */
public class LoginConstract {
    public interface View extends IBaseView {
        void loginIng();

        void loginSuccess();

        void loginFail(String errCode, String errMsg);

    }

    public interface Presenter extends IBasePresenter<View> {
        //初始化home界面数据
        void login(String userName, String pwd);
    }
}
